package com.kitty.game.enter;


import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;
import com.kitty.game.enter.FiedValue;

/**
 * 更新宠物或者人物的面板信息
 */
@MessageMeta(module = Modules.MSG_UPDATE)
public class RespUpdate extends Message {
    private int roleId;//角色id
    private List<FiedValue> list;

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public List<FiedValue> getList() {
        return list;
    }

    public void setList(List<FiedValue> list) {
        this.list = list;
    }

    public RespUpdate() {}

    public RespUpdate(int roleId, List<FiedValue> list) {
        this.roleId = roleId;
        this.list = list;
    }
}
